from django.urls import path
from .views import (SeeView, EditView, AddCollege,
                    InquireView, AdditionView,
                    AmendView, CancelView,
                    LookView, CreateCourseView, AlterView, WatchView,
                    AffixView, Revamp, OmitView, BehaviorView, FindScore, QueryStuScore)

urlpatterns = [
    path('seecollege/<int:p_id>/<int:p_num>/', SeeView.as_view()),
    path('editcollege/<int:id>/', EditView.as_view()),
    path('addcollege/', AddCollege.as_view()),
    path('inquireclasses/<int:p_id>/<int:p_num>/', InquireView.as_view()),
    path('additionclasses/', AdditionView.as_view()),
    path('amendclasses/<int:id>/', AmendView.as_view()),
    path('lookcourse/', LookView.as_view()),
    path('ceratecourse/', CreateCourseView.as_view()),
    path('altercourse/<int:id>/', AlterView.as_view()),
    path('cancelcourse/<int:id>/', CancelView.as_view()),
    path('watchinfo/<int:p_id>/<int:p_num>/', WatchView.as_view()),
    path('affixinfo/', AffixView.as_view()),
    path('revampinfo/<int:id>/', Revamp.as_view()),
    path('omitinfo/<int:id>/', OmitView.as_view()),
    path('break/<str:name>/', BehaviorView.as_view()),
    path('query_score/', FindScore.as_view()),
    path('stuscore/', QueryStuScore.as_view()),
]
